//
//  ListController.h
//  Grid
//
//  Created by lee jory on 09-10-22.
//  Copyright __MyCompanyName__ 2009. All rights reserved.
//

#import "MCViewController.h"
#import "ListCell.h"


@interface ListController : MCViewController <UITabBarDelegate,UIActionSheetDelegate>{

	UIToolbar *pageBar;
	NSString *dataObjectName;
	NSString *layoutName;
	NSMutableArray *queryFilter;
	int page;
	int totalPage;
	NSMutableArray *listData;
	NSMutableDictionary *listLayout;
	ListCell *listCell;
	NSMutableArray *listButtons;
	BOOL     isJump2Page;
	BOOL	 isFirstColumnFixed;
	int		 buttonCol;
	NSMutableArray *withFormButtons;
	BOOL	isMsel;
	NSMutableArray *valueBufferArray;
	BOOL    dataRefresh;
}

@property (nonatomic, retain) NSString *dataObjectName;
@property (nonatomic, retain) NSString *layoutName;
@property (nonatomic, retain) NSMutableArray *queryFilter;
@property (nonatomic) int page;
@property (nonatomic, retain) NSMutableArray *listData;
@property (nonatomic, retain) NSMutableDictionary *listLayout;
@property (nonatomic) BOOL dataRefresh;

- (void)getDataFromServer;

-(BOOL)getNextData;
-(BOOL)getPreviousData;
@end

